<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Design by http://www.hotwebsitetemplates.net
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Scenic</title>
<link rel="shortcut icon" href="images/scenic/scenic.ico"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="style.css" rel="stylesheet" type="text/css" />
<script src="js/thumbnailviewer.js" type="text/javascript">
/***********************************************
* Image Thumbnail Viewer Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
</script>


<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-24331809-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>


<body>
<div class="main">

  <?php include("header.htm"); ?>

  <div class="content">
    <div class="content_resize">
      <div class="mainbar">
      
      
      
        <div class="article">
          
		<h2><span>Scenic for the Nokia N9</span>  <g:plusone></g:plusone></h2>

         <p>Scenic is a wallpaper customization application for Harmattan on the Nokia N9 that runs in
         two modes; Hourly and Random. Using a folder of images that you provide, Scenic will keep
         your wallpaper fresh and interesting.</p>
         
         <p>In Hourly mode, Scenic will look in the image folder for a file named <a href="#howto">wallpaper.conf</a> that
         defines what wallpaper you want to be loaded at any hour of the day.</p>
         
         
         <p>Images can be pretty much any format besides GIF. Scenic will read this file and load the 
         appropriate wallpaper each hour.</p>
         
         <p>In Random mode, Scenic ignores the wallpaper.conf file and randomly picks an image out of
         the folder you tell it to. You can also customize the interval at which the wallpaper is updated.</p>
          
          <div >
          	
          	<h3><span>Do it all from the Settings Menu</span>  </h3><div class="clr"></div>
          	 <div >
				  <p class="left_float"><a href="images/scenic/settings.png" rel="thumbnail"><img src="images/scenic/thumbs/settings.png" style="" /></a> </p>
				  <p class="description"> 
				  <div id="list">
				  <ul>
				  <li>Chose the wallpaper folder</li>
				  <li>Choose the update interval</li>
				  <li>Switch between Hourly and Random modes</li>
				  <li>Trigger updates</li>
				  </ul>
				  </p>
				  </div>
		     </div>
		     <div class="clr"></div>
		     
		     <div>
		     <h3>Try the samples</h3>
		     <p>Scenic comes bundled with a sample Day and Night set found in <tt>/opt/scenic/wallpaper/flower</tt>. 
		     From 7:00 am to 8:00 pm the flower will be will be up and smiling, while at any other hour he will be sleeping.</p>
		     <img class="left_float2" src="images/scenic/n9-day.png" />
		     <img class="right_float2" src="images/scenic/n9-night.png" />
		     </div>
		     <div class="clr"></div>
		     
		     
		     <h2><a name="howto"></a>Create your own Scenic packages</h2>
			<p>Scenic allows you to automatically change your N9 wallpaper
			based on a wallpaper.conf file or randomly from images in a folder.
			This section will explain how to make your own wallpaper folders that
			anyone can download. These files are not necessary if you only
			want to use Scenic in Random mode.</p>
			<br>

			<h3>Format</h3>
			<p>The scenic format is simple. Just have a folder (name doesn't matter)
			that contains all of the images you intend on using, along with a file
			named 'wallpaper.conf'. The recommended image format is jpg for quick
			loading, but it probably won't make a big difference. They should
			be 480x854 px.</p>

			<p>Let's say you have three jpg images named one.jpg, two.jpg and three.jpg.
			Let's say you want one.jpg to be shown from 12:00am to 6:00am, two.jpg to
			be shown from 6:00am to 6:00pm, and three.jpg to be shown for the rest
			of the day. This is how your wallpaper.conf file will look:</p>

<pre>
00=one.jpg
06=two.jpg
18=three.jpg
</pre>

			<p>Scenic also supports intervals of random images. So if you wanted to change
			the above wallpaper.conf file to use a random image from 3:00 am to 6:00 am, you
			would have to add this</p>
			
<pre>
00=one.jpg
03=random
06=two.jpg
18=three.jpg
</pre>			

			<p>Thats the entire file! Note that it uses military (24 hour) time, and
			there are no spaces. Scenic uses the interval you specify to check and update the 
			wallpaper. Obviously, you can have up to 24 images, one for every hour of the day.</p>

			<p>The end result is a folder that contains images and a wallpaper.conf file</p>

			<br>
			<h3>Usage</h3>
			<p>After you have downloaded the folder onto your phone, you need to
			tell Scenic where to find it. On the settings screen, enter the path
			to the folder into the 'Folder' field. If you used the browser to download
			the folder, then the path may look like

<pre>
/home/user/MyDocs/Downloads/folder
</pre>

			Notice the path ends at the folder, NOT the wallpaper.conf file.
			The next time Scenic updates the wallpaper it will use your new images.
			Scenic keeps this information in /home/user/.config/scenic/scenic.conf.
			</p>

			<h3>Performance</h3>
			<p>Some people worry about battery life when using background services.
			 Even when running at a one minute interval, Scenic will have no noticable
			 effect on performance or battery life. If you want to see the Scenic
			 doing it's job for yourself, then from a command line you can execute</p>
			 
<pre>
$ scenicd update
</pre>
		  
		  <p>And you should see output similar to </p>
		  
		  <pre>
opening scenic.conf file
opened 
reading wallpaper
reading interval
reading enabled

Found the following:
mode: Hourly
enabled: true
wallpaper dir: /opt/scenic/wallpaper
interval: 600
updating wallpaper

gconftool-2 --type=string -s /desktop/meego/background/portrait/picture_filename 
/opt/scenic/wallpaper/night.jpg
sleeping for 0 seconds
		  </pre>
		  
		  
		  <p>The point in doing this is you get to observe how quickly the program runs.
		  The update takes a fraction of a second, and the rest of the time Scenic is sleeping
		  using no cpu</p>
		     
          </div>

          <p class="infopost">Source on Gitorious.org  <a href="https://gitorious.org/harmttan/scenic" class="rm">https://gitorious.org/harmttan/scenic</a> </p>
        </div>
		</div> 

		<?php include("sidebar.htm"); ?> 

		<div class="clr"></div>
	</div>
  </div>
  

</div>
</body>
</html>
